window.addEvent('domready', function() {
	document.formvalidator.setHandler('date',
		function (value) {
			var date = new Date(value);
			var now = new Date();
			
			date.setHours(0);
			date.setMinutes(0);
			date.setSeconds(0, 0);
			
			now.setHours(0);
			now.setMinutes(0);
			now.setSeconds(0, 0);

			return (date>=now);
	});
});